Documentation > CMS Template API Library > PublishingArgs > PublishingArgs[String]

PublishingArgs[String]

Get the value of an argument with the given name.

Type

System.String

Parameters

NameDescriptionType
argName The name of the argument. System.String

Code Example

C#

Sample:
Out.WriteLine("Sort Order:{0}", context.PublishingArgs["sortOrder"]);
                    

Connect with Crownpeak